WBCR\APT\AutoPostThumbnails D

Total Complexity 237
Dependencies 12
Dependents 2
Total lines 1,449
Lines of code 931
Logical lines of code 581
Comment lines 302
Methods 40
Properties 7

Methods 40

Method Rating Maintainability Complexity Lines of code
publish_post()
C
36 25 70
upload_to_library()
B
33 21 90
apt_api_google()
B
42 22 46
generate_post_thumb()
A
37 14 69
upload_font()
A
44 12 40
get_posts_ids()
A
42 11 51
apt_replace_thumbnail()
A
49 11 30
get_fonts()
A
45 10 43
generate_image_with_text()
A
40 9 57
get_posts_query()
A
42 9 56
get_thumbnail_id()
A
53 9 22
insert_attachment()
A
48 7 32
init()
S
50 7 26
apt_check_api_key()
S
52 7 22
generate_and_attachment()
S
46 6 36
ajax_process_post()
S
52 6 25
ajax_delete_post_thumbnails()
S
57 5 16
source_content()
S
57 5 15
check_api_notice()
S
54 4 19
array_contains_key()
S
59 4 15
auto_upload()
S
60 4 12
__construct()
S
56 2 20
hide_notice_auto_generation()
S
71 3 5
get_file_contents()
S
66 3 8
apt_getThumbHtml()
S
59 2 12
UseDefault()
S
62 2 11
check_required_transition()
S
74 2 5
save_post()
S
68 2 7
instance()
S
71 2 6
ajax_actions()
S
59 1 13
notice_auto_generation()
S
67 1 11
get_posts_count()
S
68 1 7
addToMediaFromApt()
S
72 1 5
allow_upload_webp()
S
76 1 4
set_fonts_upload_dir()
S
70 1 6
apt_get_thumbnail()
S
76 1 4
init_includes()
S
80 1 3
find_from_text_category()
S
74 1 4
rest_after_insert()
S
79 1 3
media_AptTabContent()
S
72 1 5